package com.daxia.bumall.common;

/**
 * 
 * 公司销售类型
 *
 */
public enum CompanySalesType {

	Furniture(0, "家具"), Ornaments(1, "家饰");

	private int value;
	private String remark;

	private CompanySalesType(int value, String remark) {
        this.value = value;
        this.remark = remark;
    }

	public int getValue() {
		return value;
	}

	public String getRemark() {
		return remark;
	}

	public static CompanySalesType getByValue(int value) {
		for (CompanySalesType o : CompanySalesType.values()) {
			if (o.getValue() == value) {
				return o;
			}
		}
		return null;
	}
}
